package team.unstudio.unknownrpg_base;

import java.util.Random;

public class Util {
	private static Random random = new Random(System.currentTimeMillis());
	public static boolean lucky(int chance) {
		if(chance>=100)return true;
		if(chance<=0)return false;
		if(random.nextInt(100)>=chance)return false;
		return true;
	}
}
